
 /**
 * @author Eric Muehlberg
 *	
 *	Base object class for object in the world
 */
public class WObject extends Cube
{
	/**
	 * Coordinates
	 */
	//float x, y, z;
	/**
	 * Dimensions
	 */
	//float w, h, d;
	/**
	 * Type of object
	 */
	String type;

	
	/**
	 * Coordinates are denoted by x, y, z
	 * Dimensions are denoted by w, h, d
	 * @param w is the objects width
	 * @param h is the objects height
	 * @param d is the objects depth
	 * 
	 * @param type is the objects type |-Used for in game functions-|
	 * 
	 * If an object is 2 dimensional set the depth to 0
	 */
	public WObject(float x, float y, float z, float w, float h, float d, String type)
	{
		super(x,y,z,w,h,d);
		this.type = type;
	}
	
//Use the following in the future once perspective shift has been fully configured.

	/**
	 * Returns the relative x coordinate based on perspective
	 * 
	 * Returns x if in one of the X-axis orientations
	 * Returns z if in one of the Z-axis orientations
	 * Else returns 0
	 * 
	 * <Do not assume 0 implies an error>
	 */
	/*public float getX()
	{
		return cube.getX();
	}
	
	public float getRX()
	{
		return cube.getRX();
	}
	
	public float getY()
	{
		return cube.getY();
	}
	
	public float getZ()
	{
		return cube.getZ();
	}
	
	public float getW()
	{
		return cube.getW();
	}
	
	public float getRW()
	{
		return cube.getRW();
	}
	
	public float getH()
	{
		return cube.getH();
	}
	
	public float getD()
	{
		return cube.getD();
	}
	
	public Orientation getO()
	{
		return cube.getO();
	}
	
	public void snapLeft()
	{
		cube.snapleft();
	}
	
	public void snapRight()
	{
		cube.snapright();
	}
	
	public void updateX(float x)
	{
		cube.updateX(x);
	}*/
}